package cn.oms.oms.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public class SexEnum {

    public enum SexInterface{
        BOY(1,"男"),
        GIRL(2, "女"),
        UNKNOWN(3,"未知");


        private Integer code;
        private String name;

        SexInterface(Integer code, String name) {
            this.code = code;
            this.name = name;
        }

        public Integer getCode() {
            return code;
        }

        public void setCode(Integer code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

}
